Spread Silverlight Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcYieldMatFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 5 - 6 items: settlement, maturity, issue, rate, pr, [basis].

Settlement is the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.

Maturity is the security's maturity date. The maturity date is the date when the security expires.

Issue is the security's issue date, expressed as a serial date number.

Rate is the security's interest rate at date of issue.

Pr is the security's price per $100 face value.

Basis is the type of day count basis to use.

Returns the System.Double annual yield of a security that pays interest at maturity.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcYieldMatFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 5 - 6 items: settlement, maturity, issue, rate, pr, [basis].

Settlement is the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.

Maturity is the security's maturity date. The maturity date is the date when the security expires.

Issue is the security's issue date, expressed as a serial date number.

Rate is the security's interest rate at date of issue.

Pr is the security's price per $100 face value.

Basis is the type of day count basis to use.

Return Value

A System.Double value that indicates the evaluate result.
See Also

Reference

CalcYieldMatFunction Class
CalcYieldMatFunction Members
Overload List